import {
	get,
	post
} from "./request.js"

//登录
export const login = (data) => post('doctor/login', data);
//用户协议、隐私协议
export const message = (data) => post('doctor/message', data);
//订单列表
export const orderList = (data) => post('doctor.order/list', data);
//关于我们
export const detail = (data) => post('doctor.message/detail', data);
//修改昵称
export const editNick = (data) => post('doctor.common/editNick', data);
//修改个人简介
export const editInfo = (data) => post('doctor.common/editInfo', data);
//医生停诊
export const stopWork = (data) => post('doctor.common/stopWork', data);
//问卷列表
export const examList = (data) => post('doctor.exam/list', data);
//问卷详情
export const examDetail = (data) => post('doctor.exam/detail', data);
//打分
export const examScore = (data) => post('doctor.exam/score', data);
//我的订单
export const myOrderList = (data) => post('doctor.order/list', data);
//d订单详情
export const orderDetail = (data) => post('doctor.order/detail', data);
//开药
export const prescribe = (data) => post('doctor.order/prescribe', data);
//确认支付
export const payOrder = (data) => post('doctor.order/payOrder', data);
//完成订单
export const completeOrder = (data) => post('doctor.order/completeOrder', data);
//提示上传
export const hint = (data) => post('doctor.order/hint', data);
//提示病史
export const replenish = (data) => post('doctor.order/replenish', data);
//病史详情
export const caseDetail = (data) => post('doctor.order/caseDetail', data);
//物流
export const getDeliverInfo = (data) => post('doctor.order/getDeliverInfo', data);
